# which CC to use
CC=g++

# options to pass to the compiler
#CFLAGS=-c -Wall -I../ -I/usr/include/SDL
#CFLAGS=-c -I../ -I/usr/include/SDL -m64
CFLAGS=-c -I../ -I/usr/include/SDL -DLINUX

all: DertyDucks

DertyDucks: DertyDucks.o GameBase.o 
	$(CC) DertyDucks.o GameBase.o -o ../../Run/DertyDucks -L/usr/lib/x86_64-linux-gnu -lSDL -lSDLmain -lSDL_mixer -lSDL_ttf

DertyDucks.o: ../DertyDucks.cpp
	$(CC) $(CFLAGS) ../DertyDucks.cpp

GameBase.o: ../GameBase.cpp
	$(CC) $(CFLAGS) ../GameBase.cpp

clean:
	rm -rf *o ../../Run/DertyDucks
